﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shsc.Net.Common.Dto;
using Shsc.Net.Common.Logic;

namespace Shsc.Net.Common.Service.Impl
{
    public abstract class AbstractBasePagingServiceImpl : BaseServiceImpl, BasePagingService
    {
        /// <summary>
        /// 分页Logic
        /// </summary>
        protected PagingBaseLogic pagingBaseLogic;

        public abstract void Search(PagingBaseDto baseDto);

        public void Paging(PagingBaseDto baseDto)
        {
            List<PagingBaseInspDto> lisResult = pagingBaseLogic.Paging(baseDto);
            baseDto.ResultList = lisResult;
        }
    }
}
